From: Eli Zaretskii Date: Thu, 17 May 2001 10:58:00 +0000 (+0000) Subject: (switch-to-buffer-other-window, switch-to-buffer-other-frame): Add an xref X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~40267 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3ebe41b94ad4546b997ccdceb313aee482c69fd3;p=emacs.git (switch-to-buffer-other-window, switch-to-buffer-other-frame): Add an xref to display-buffer in the doc string. --- diff --git a/lisp/files.el b/lisp/files.el index 0e99520c4b1..d0cbc2cc417 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -700,7 +700,10 @@ unlike `file-truename'." (defun switch-to-buffer-other-window (buffer &optional norecord) "Select buffer BUFFER in another window. Optional second arg NORECORD non-nil means -do not put this buffer at the front of the list of recently selected ones." +do not put this buffer at the front of the list of recently selected ones. + +This uses the function `display-buffer' as a subroutine; see its +documentation for additional customization information." (interactive "BSwitch to buffer in other window: ") (let ((pop-up-windows t)) (pop-to-buffer buffer t norecord))) @@ -708,7 +711,10 @@ do not put this buffer at the front of the list of recently selected ones." (defun switch-to-buffer-other-frame (buffer &optional norecord) "Switch to buffer BUFFER in another frame. Optional second arg NORECORD non-nil means -do not put this buffer at the front of the list of recently selected ones." +do not put this buffer at the front of the list of recently selected ones. + +This uses the function `display-buffer' as a subroutine; see its +documentation for additional customization information." (interactive "BSwitch to buffer in other frame: ") (let ((pop-up-frames t)) (pop-to-buffer buffer t norecord)